package com.sinosoft.sm.system.common.utils.ajax;

/**
 * 分页数据传输抽象类
 * @author wangdongsheng
 *
 */
public class PageData {
	
	private int total;	//	datagrid 列表总数
	
	private Object rows;	//	表格数据

	public PageData() {//关键就是这个，有了它，问题纠正  
        super();  
    } 
	
	public PageData(int total, Object rows) {
		this.total = total;
		this.rows = rows;
	}
	
	public int getTotal() {
		return total;
	}

	public void setTotal(int total) {
		this.total = total;
	}

	public Object getRows() {
		return rows;
	}

	public void setRows(Object rows) {
		this.rows = rows;
	}
	
}
